#ifndef STRING_TOKENIZER__
#define STRING_TOKENIZER__

#include <string>

class StringTokenizer
{
private:

    std::string str;
    std::string sep;
    std::string next_tok;
    size_t tok_start;
	size_t tok_end;
	bool is_next;
	
	void doNext();
    
public:
    StringTokenizer(std::string str, std::string sep);
    
    bool hasMoreTokens();
    std::string getNext();
};

#endif
